package com.ruoyi.pangolin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 推荐功能对象 pangolin_referral
 * 
 * @author wholve
 * @date 2023-01-22
 */
public class PangolinReferral extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 行业ID */
    @Excel(name = "行业ID")
    private Long industryId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 推荐码 */
    @Excel(name = "推荐码")
    private String referralCode;

    /** QR ICON */
    @Excel(name = "QR ICON")
    private String industryIcon;

    /** 二维码 */
    @Excel(name = "二维码")
    private String qrCode;

    /** 状态 1正常 0删除 */
    @Excel(name = "状态 1正常 0删除")
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIndustryId(Long industryId) 
    {
        this.industryId = industryId;
    }

    public Long getIndustryId() 
    {
        return industryId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setReferralCode(String referralCode) 
    {
        this.referralCode = referralCode;
    }

    public String getReferralCode() 
    {
        return referralCode;
    }
    public void setIndustryIcon(String industryIcon) 
    {
        this.industryIcon = industryIcon;
    }

    public String getIndustryIcon() 
    {
        return industryIcon;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("industryId", getIndustryId())
            .append("userId", getUserId())
            .append("referralCode", getReferralCode())
            .append("industryIcon", getIndustryIcon())
            .append("qrCode", getQrCode())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
